header
<ctime> (time.h)
C Time Library
This header file contains definitions of functions to get and manipulate date and time information.
Functions
Time manipulation
- clock
- Clock program (function
)
- difftime
- Return difference between two times (function
)
- mktime
- Convert tm structure to time_t (function
)
- time
- Get current time (function
)
Conversion
- asctime
- Convert tm structure to string (function
)
- ctime
- Convert time_t value to string (function
)
- gmtime
- Convert time_t to tm as UTC time (function
)
- localtime
- Convert time_t to tm as local time (function
)
- strftime
- Format time as string (function
)
functions:
macros:
types: